<script language="JavaScript" type="text/javascript">
<!--
function checkform (form)
{
	if (form.URL.value == "")
	{
		alert ("Please type or paste a web address to shorten into the input box.");
		form.URL.focus();
		return false;
	}
	var found = false;

	for (var i=0;i<form.URL.value.length;i++)
	{
		var chr = form.URL.value.charAt(i);
		if(chr=='.')
		{
			found = true;
			break;
		}
	}
	if (found == false)
	{
		alert ("Please type or paste a valid web address into the input box.");
                form.URL.focus();
                return false;
	}
	return true;
}
function focusbox() {
	el = document.getElementById('URL');
	el.focus();
}

window.onload = focusbox;

//-->
</script>
</head>
<body>
<div id="frontpagecontainer">
</div>
<div id="frontpage">

<form action="http://is.gd/create.php" method="post" onsubmit="return checkform(this);">
<input class="textbox" type="text" maxlength="2000" size="55" id="URL" name="URL" value="" />
<center><input class="button" type="submit" value="Shorten that link!" /></center>
</form>